[Search engine] Sphinx introduction and Principle Exploration, search engine sphinxWhat/definition of Sphinx
Sphinx is a full-text search engine.Features
Excellent indexing and Performance
Easy to integrate SQL and XML data sources, and use the
What is SphinxSphinx is a full-text search engine released under GPLv2, commercial authorization (for example, embedded in other programs) needs to contact us (Sphinxsearch.com) for commercial authorization. Generally, Sphinx is an independent
What is the definition of What/sphinxSphinx is a full-text search engine.Characteristics
Excellent indexing and performance
Easy integration of SQL and XML data sources with Sphinxapi, SPHINXQL, or sphinxse search interfaces
Easy to
Sphinx Chinese Getting Started Guide wuhuiming
1. Introduction
What is 1.1.Sphinx?
Features of the 1.2.Sphinx
1.3.Sphinx Chinese participle
2. Installation Configuration Example
2.1
This is a half year ago did not write the article, now take out to share under. There may be some incorrect or inaccurate places, some languages may be more frivolous, please forgive me.
For an example of the above email data
One, software preparation
coreseek4.1 (includes the latest version of Coreseek Beta and mmseg, and test packages "built-in Chinese word segmentation and search, Word segmentation, MySQL data source, Python
Data table:
CREATE TABLE Email (
emailid mediumint (8) unsigned not NULL auto_increment COMMENT ' mail id ',
fromid Int (a) unsigned Not null default ' 0 ' COMMENT ' Sender ID ',
toid Int (a) unsigned NOT null default ' 0 ' COMMENT ' recipient id ',
The following is reproduced content, this test uses the sphinx2.2.10 version, basically no problem, in addition to the red font part.
---------------------------------------------------
Download Sphinx source package from Sphinx website, I am using
Official website and documentation: http://sphinxsearch.com/docs/
Http://www.sphinxsearch.org/
Python SDK: http://pypi.python.org/pypi/sphinxapi
Incremental index reference: http://blog.csdn.net/jianglei421/article/details/5431946
Alumni Zhang
these days the project needs to do a new full-text search function on goods, so thought of using Sphinx, because the need for Chinese participle, so chose Sphinx for Chinese, of course, you can also choose Coreseek, suggest that these two choose one,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.